import request from '@/utils/request'

// 酒店表列表
export function apiHotelLists(params: any) {
    return request.get({ url: '/hotel/lists', params })
}

// 添加酒店表
export function apiHotelAdd(params: any) {
    return request.post({ url: '/hotel/add', params })
}

// 编辑酒店表
export function apiHotelEdit(params: any) {
    return request.post({ url: '/hotel/edit', params })
}

// 删除酒店表
export function apiHotelDelete(params: any) {
    return request.post({ url: '/hotel/delete', params })
}

// 酒店表详情
export function apiHotelDetail(params: any) {
    return request.get({ url: '/hotel/detail', params })
}

// 恢复酒店表
export function apiHotelRestore(params: any) {
    return request.post({ url: '/hotel/recover', params })
}



// ==================================================================================================================
// 酒店表详情 apiHotelDetail
// 恢复酒店表
export function apiHotelSave(params: any) {
    return request.post({ url: '/hotel/save', params })
}


// 酒店表详情 apiHotelDetail
export function apiHotelBasicAll(params: any) {
    return request.get({ url: '/hotel_basic/all', params })
}